App.controller('noticeController', ['$rootScope', '$scope', '$state', '$window', 'Page',function($rootScope, $scope, $state, $window, Page) {
	
	//获得当前页面数据信息(用于分页指令回调)
	$scope.getPageDataList = function (dataList){
		 $scope.noticeList = dataList;
		 if($scope.noticeList.length > 0) {
				$scope.selectNotice = $scope.noticeList[0];
		}
	}
	// 查询服务公告
	 $scope.noticeListModal = {
			clickNotice : function(notice, event) {
				$scope.selectNotice = notice;
			}
		}
}]);